package com.zkr.planclass.service;

import com.zkr.planclass.model.PlanClassAddVo;
import com.zkr.planclass.model.PlanClassSelectVo;
import com.zkr.planclass.model.PlanClassUpdateStatusVo;
import com.zkr.planclass.model.PlanClassUpdateVo;
import com.zkr.util.ResultVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid;
import java.util.List;

/**
 * Created by lenovo on 2020/12/11.
 */
public interface PlanClassService {
    ResultVo queryPage(PlanClassSelectVo planClassSelectVo);



    //ResultVo queryById(Integer id);

    ResultVo update(@Valid PlanClassUpdateVo planClassUpdateVo);

    ResultVo updateStatus(@Valid PlanClassUpdateStatusVo planClassUpdateStatusVo);

    ResultVo importFile(MultipartFile file) throws Exception;

    ResultVo add(List<PlanClassAddVo> planClassAddVoList);


    ResultVo exportFile(PlanClassSelectVo planClassSelectVo, HttpServletResponse response)throws Exception;
}
